
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.FodderType;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage FodderType entities.
 * 
 */
public interface FodderTypeDAO extends JpaDao<FodderType> {

	/**
	 * JPQL Query - findFodderTypeByName
	 *
	 */
	public Set<FodderType> findFodderTypeByName(String name) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByName
	 *
	 */
	public Set<FodderType> findFodderTypeByName(String name, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByPrimaryKey
	 *
	 */
	public FodderType findFodderTypeByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByPrimaryKey
	 *
	 */
	public FodderType findFodderTypeByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeBySupply
	 *
	 */
	public Set<FodderType> findFodderTypeBySupply(String supply) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeBySupply
	 *
	 */
	public Set<FodderType> findFodderTypeBySupply(String supply, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByMemoContaining
	 *
	 */
	public Set<FodderType> findFodderTypeByMemoContaining(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByMemoContaining
	 *
	 */
	public Set<FodderType> findFodderTypeByMemoContaining(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllFodderTypes
	 *
	 */
	public Set<FodderType> findAllFodderTypes() throws DataAccessException;

	/**
	 * JPQL Query - findAllFodderTypes
	 *
	 */
	public Set<FodderType> findAllFodderTypes(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByNameContaining
	 *
	 */
	public Set<FodderType> findFodderTypeByNameContaining(String name_1) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByNameContaining
	 *
	 */
	public Set<FodderType> findFodderTypeByNameContaining(String name_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeById
	 *
	 */
	public FodderType findFodderTypeById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeById
	 *
	 */
	public FodderType findFodderTypeById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeBySupplyContaining
	 *
	 */
	public Set<FodderType> findFodderTypeBySupplyContaining(String supply_1) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeBySupplyContaining
	 *
	 */
	public Set<FodderType> findFodderTypeBySupplyContaining(String supply_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByMemo
	 *
	 */
	public Set<FodderType> findFodderTypeByMemo(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findFodderTypeByMemo
	 *
	 */
	public Set<FodderType> findFodderTypeByMemo(String memo_1, int startResult, int maxRows) throws DataAccessException;

}